.mdl-menu a {
	text-decoration: none;
	display: block
}
.mdl-button > * {
	vertical-align: middle;
}
.mdl-button .mdl-spinner {
	width: 22px;
	height: 22px;
}
.mdl-button:not(.loading) .mdl-spinner {
	display: none;
}
.mdl-card {
	min-height: auto;
}
.mdl-layout__content {
	background: #EEE;
}
.page-content {
	padding-top: 30px;
	padding-bottom: 30px;
}
.page-content > .mdl-card {
	max-width: 1000px;
	width: calc(100% - 16px);
	margin: 0 auto 20px;
}
.mdl-card__supporting-text {
	width: 100%;
	box-sizing: border-box;
}

.layout-transparent .mdl-layout__header {
	position: absolute;
	background-color: transparent;
}
.mdl-layout__header-row.no-menu {
	padding-left: 30px;
	padding-right: 30px;
}

.mdl-mini-footer {
	padding-left: 30px;
	padding-right: 30px;
}

.mdl-card__actions.buttons {
	text-align: right;
}

.center-button {
	display: inline-block;
	margin: 0 auto;
	padding: 4px 24px;
	height: auto;
	font-size: 17px;
}
.center-button .mdl-spinner {
	width: 26px;
	height: 26px;
	margin-right: 6px;
}

.home {
	color: #FFF;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 600px;
	background: url('../image/bg.jpg') center / cover;
}
.home > * {
	line-height: normal;
	padding: 5px;
}
.home .title {
	font-size: 30px;
}
.home .text {
	font-size: 20px;
	text-align: center;
}
.home .search .mdl-textfield__label:after {
	background-color: #EEE;
}
.home .search input {
	outline: none;
}

.works {
	background-color: #EEE;
	padding-top: 50px;
	padding-bottom: 50px;
}
.works > .title {
	text-align: center;
	font-size: 30px;
	margin-bottom: 40px;
}
.works-list {
	max-width: 1000px;
	width: 100%;
	margin: 0 auto;
}
.works-list::after {
	display: table;
	content: "";
	clear: both;
}
.works-list .item {
	width: 33%;
	display: inline-block;
	float: left;
	box-sizing: border-box;
	padding: 10px;
}
.works-list .item .mdl-card {
	width: 100%;
}
.works-list .item .mdl-card .mdl-card__title {
	height: 200px;
	background-image: url("../image/item-bg.png");
	color: #FFF;
}
.works-list .item p {
	margin-top: 5px;
	margin-bottom: 5px;
}


.ribbon {
	width: 100%;
	height: 260px;
	background-color: #3F51B5;
	-webkit-flex-shrink: 0;
		-ms-flex-negative: 0;
			flex-shrink: 0;
}

.ribbon-main {
	background: transparent;
	margin-top: -200px;
	box-sizing: border-box;
	-webkit-flex-shrink: 0;
		-ms-flex-negative: 0;
			flex-shrink: 0;
}

.user-page .ribbon-main {
	margin-top: -170px;
	padding-top: 130px;
}
.user-page .user-info {
	overflow: visible;
	max-width: 1000px;
	width: 100%;
	min-height: auto;
	margin: -100px auto 0;
}
.user-page .user-info .mdl-card__supporting-text {
	text-align: center;
	overflow: visible;
}
.user-page .user-info .avatar {
	height: 120px;
	width: 120px;
	margin-top: -70px;
	border-radius: 50%;
	border: 5px solid #FFF;
}
.user-page .user-info p {
	font-size: 28px;
	line-height: 34px;
}
.user-page .works-list {
	margin-top: 10px;
}

.my-page .login-form .mdl-textfield {
	width: 100%;
}
.my-page .login-form .g-recaptcha > div {
	margin: 0 auto;
}
.my-page .login-form .buttons {
	margin-top: 10px;
}
.my-page .upload-form .mdl-card__supporting-text {
	padding: 0;
}
.my-page .upload-form .mdl-card__supporting-text .mdl-grid {
	border-top: 1px solid #EEE;
}
.my-page .upload-form .mdl-card__supporting-text .mdl-grid > * {
	vertical-align: middle;
}
.my-page #file-name {
	padding-left: 10px;
	font-size: 15px;
}
.my-page .team .team-list .mdl-chip {
	margin-right: 10px;
}
.my-page .team .mdl-textfield {
	width: 300px;
	padding-bottom: 10px;
}
.my-page .team .mdl-textfield__label:after {
	bottom: 10px;
}
.my-page .change-password .mdl-textfield {
	width: 100%;
}
.view-page .page-content {
	padding-top: 0;
	padding-bottom: 0;
}
.view-page .main-frame {
	width: 100%;
	height: 100%;
	border: none;
}


@media (max-width: 1024px) {
	.mdl-layout__container.has-scrolling-header .mdl-layout__content {
		overflow-y: visible;
		overflow-x: visible;
	}
	.mdl-layout__header {
		display: block;
	}
	.mdl-layout__header-row.no-menu,
	.mdl-mini-footer {
		padding-left: 16px;
		padding-right: 16px;
	}
	.home {
		min-height: 450px;
	}
	.home > * {
		padding-left: 16px;
		padding-right: 16px;
	}
	.home .title {
		font-size: 24px;
	}
	.home .text {
		font-size: 15px;
	}
	.works {
		padding-top: 30px;
		padding-bottom: 30px;
	}
	.works > .title {
		margin-bottom: 20px;
	}
	.works-list .item {
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}
	.works-list .item .mdl-card .mdl-card__title {
		height: 160px;
	}
}